﻿using System;
using System.Linq;
using System.Text;
using System.Reflection;

namespace LeanEngine.Reflection
{
    public sealed class EmitConstructorInvokerFactory : IReflectionFactory<Type, IConstructorInvoker>
    {
        #region IReflectionFactory<ConstructorInfo,IConstructorInvoker> Members

        public IConstructorInvoker Create(Type key)
        {
            return new EmitConstructorInvoker(key);
        }

        #endregion
    }
}
